package com.xmy.system.service;

import com.xmy.common.core.domain.entity.WeChatUser;
import org.apache.ibatis.annotations.Select;

public interface ISysWeChatUserService {
    WeChatUser getUserByOpenId(String openid);

    void registerUser(WeChatUser user);

    void updateUser(WeChatUser weChatUser);


    WeChatUser getUserById(Long userId);

    boolean updateUserAvatar(Long id, String avatar);

    int updateUserProfile(WeChatUser currentUser);

    boolean checkPhoneUnique(WeChatUser currentUser);
}
